package com.xxq.semester.mapper;

import com.xxq.semester.entity.classmgmt.Classes;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author saki
 * @since 2025-07-13
 */
@Mapper
public interface ClassesMapper extends BaseMapper<Classes> {
    List<Classes> getAllClasses();
    Boolean createClass(Classes classes);
    Boolean updateClassById(Classes classes);
    Boolean deleteClassById(Integer classId);
    Classes getClassById(Integer classId);
    Integer getTeacherIdByClassId(Integer classId);
}
